package ro.isdc.navigator.misc;

import java.util.Locale;

import org.apache.wicket.Request;
import org.apache.wicket.protocol.http.WebApplication;
import org.apache.wicket.protocol.http.WebSession;

/**
 * Subclass of WebSession for QuickStartApplication to allow easy and typesafe
 * access to session properties.
 */
public final class ApplicationSession extends WebSession {
  /**
   * Default Serial Version UID.
   */
  private static final long serialVersionUID = 1L;

  /**
   * Constructor.
   *
   * @param application
   *          The application
   */
  protected ApplicationSession(final WebApplication application,
      final Request request) {
    super(application, request);
    setLocale(Locale.ENGLISH);
  }
}

